public class Main {
    public static void main(String[] args) {
        Cat cat=new Cat("Tom");
        cat.printInfo();

        Mouse mouse=new Mouse("Jerry");
        mouse.printInfo();
         cat.eat("鱼");
         mouse.stealFood("鱼");
         Cat Tom=new Cat("Tom");
         Tom.catchMouse(mouse);
    }
}
